<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>主页</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/animate.min.css" th:href="@{/css/main/animate.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/style.min862f.css" th:href="@{/css/main/style.min862f.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
    <div class="row  border-bottom white-bg dashboard-header">
    <!-- <button onclick = "api()">API</button> -->
    	<div><img th:src="@{/img/baocan2.png}" width="100%" alt=""></div>
        
    </div>
    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script>
    function api() {
    	
    	//alert('success')
    	
    	//var json = '{"data":{"token":{"password":"admin123","tokenId":"999999999","createTime":"2018-10-26 11:38:43","userName":"admin"},"eatDate":"2018-10-27"}}';
    	
    	$.ajax({
    		cache : true,
    		type : "GET",
    		url : "/meals/mobile/getMealsSettingInfo",
    		data : {
    			//'selfInfo': json
    		},
    		async : false,
    		error : function(request) {
    			$.modal.alertError("系统错误");
    		},
    		success : function(data) {
    			alert(data)
    			//console.log(data)
    		}
    	});
    }
    </script>
</body>
</html>
